<%@ Register TagPrefix="dammela" Namespace="whole" Assembly = "dammela" %>

<%@ Page validateRequest="false" Language="C#" Description="Homepage" debug="false" EnableViewState="false"%>
<%@ Import Namespace="whole"%>
<%@ Import Namespace="dammelau"%>

<%@ Import Namespace="System.Net"%>
<%@ Import Namespace="System.IO"%>
<%@ Import Namespace="System.Text"%>
<%@ Import Namespace="System.Xml"%>

<%
    string hostkey = ConfigurationManager.AppSettings["hostkey"].ToString();
    string parameters = Page.Request.QueryString.ToString();
    XmlDocument xdoc = new XmlDocument();
    System.Net.WebRequest wr = System.Net.WebRequest.Create(ConfigurationManager.AppSettings["loginserver"].ToString() + "/ajax/util.aspx?" + parameters + "&hostkey=" + hostkey);

    xdoc.Load(wr.GetResponse().GetResponseStream());
    
	Response.ContentType = "text/xml";
	Response.Write( xdoc.OuterXml );
	
%>
